package com.csi.service;

import com.csi.domain.Hotel;
import com.csi.domain.TravelAttraction;
import com.csi.domain.TravelPackage;
import com.csi.domain.Trip;

import java.util.List;
import java.util.Map;

public interface TravelService {
    /**
     * 查询不同类型的旅游套餐
     * @return
     */
    Map<String, List<Map<String,Object>>> findByType();

    /**
     * 查询旅游套餐详情
     * @param id
     * @return
     */
    TravelPackage packageInfo(Long id);

    Trip trip(Long id);

    List<Map<String, Object>> findAll();

    String findName(long travelId);

    List<TravelPackage> findPackage(long travelId);

    Hotel travelHotel(Long id);

    List<TravelAttraction> travelAttraction(Long id);
}
